<% if document.priority %>
	<% if document.is_up? %>
		<%= t('document.intro.endorsed', :priority_name => link_to(document.priority.name, document.priority))%>
	<% elsif document.is_down? %>
		<%= t('document.intro.opposed', :priority_name => link_to(document.priority.name, document.priority))%>	
	<% else %>
		<%= t('document.intro.neutral', :priority_name => link_to(document.priority.name, document.priority))%>
	<% end %>
<% end %>

<%= document.content_html %>